package demo2;

import java.util.LinkedList;
import java.util.List;

public class Test1 {
    public static void main(String[] args) {
      SpeakElephant speakElephant = new SpeakElephant();
      SpeakCat speakCat = new SpeakCat() ;
      speakElephant.start();
      speakCat.start();
        for (int i = 0; i < 10; i++) {
            System.out.println("人"+ i +" ");
        }

    }
}
